<template>
	<video :id="'video-' + streamManager.stream.streamId" ref="video" autoplay />
</template>

<script>
	export default {
		name: 'OvVideo',

		props: {
			streamManager: Object,
		},
		mounted() {
			this.streamManager.addVideoElement(this.$el);
		}
	};
</script>
